package com.engr.lyx.blog.biz.service.impl;

import com.engr.lyx.blog.biz.repository.menu.BlogMenuRepository;
import com.engr.lyx.blog.biz.service.MenuService;
import com.engr.lyx.blog.client.entity.BlogMenu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: blog
 * @desc:
 * @author: lyx
 * @date: 2019-03-27 18:01
 **/
@Service
public class MenuServiceImpl implements MenuService {

    @Autowired
    private BlogMenuRepository blogMenuRepository;

    @Override
    public List<BlogMenu> findMenuList() {

        return blogMenuRepository.findAll();
    }

}
